package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataDirectorachiRecordDao;
import io.renren.entity.DataDirectorachiRecordEntity;
import io.renren.service.DataDirectorachiRecordService;



@Service("dataDirectorachiRecordService")
public class DataDirectorachiRecordServiceImpl implements DataDirectorachiRecordService {
	@Autowired
	private DataDirectorachiRecordDao dataDirectorachiRecordDao;
	
	@Override
	public DataDirectorachiRecordEntity queryObject(String id){
		return dataDirectorachiRecordDao.queryObject(id);
	}
	
	@Override
	public List<DataDirectorachiRecordEntity> queryList(Map<String, Object> map){
		return dataDirectorachiRecordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataDirectorachiRecordDao.queryTotal(map);
	}
	
	@Override
	public void save(DataDirectorachiRecordEntity dataDirectorachiRecord){
		dataDirectorachiRecordDao.save(dataDirectorachiRecord);
	}
	
	@Override
	public void update(DataDirectorachiRecordEntity dataDirectorachiRecord){
		dataDirectorachiRecordDao.update(dataDirectorachiRecord);
	}
	
	@Override
	public void delete(String id){
		dataDirectorachiRecordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataDirectorachiRecordDao.deleteBatch(ids);
	}
	
}
